home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / c / AmiVoGL_MDEV.lha / hershey / src / Makefile.unix < prev    next >
Makefile  |  1991-09-27  |  2KB  |  65 lines

  1. #
  2. # Makes the hershey library.
  3. # Makes the binary Hershey font file for VOGL
  4. #
  5. CC = cc
  6. CFLAGS = -I../../src $(MCFLAGS) -DFONTLIB=\"$(FONTLIB)\"
  7.  
  8. OURLIBS = libhershey.a ../../src/libvogl.a
  9. LIBS = -lsuntool -lsunwindow -lpixrect 
  10. RANLIB = ranlib
  11. #
  12. # On a real SGI ...
  13. #
  14. #OURLIBS = libhershey.a
  15. #LIBS = -lgl
  16. #RANLIB = echo
  17. SHELL = /bin/sh
  18.  
  19. HDR = h2v.h
  20.  
  21. all:    libhershey.a h2v hdisp fdisp fonts
  22.  
  23. libhershey.a: htext.o check.o halloc.o fhtext.o
  24.     ar rcv libhershey.a htext.o check.o halloc.o fhtext.o
  25.     $(RANLIB) libhershey.a
  26.  
  27.  
  28. h2v:    h2v.o getchar.o
  29.     $(CC) -o $@ $@.o getchar.o
  30.  
  31. hdisp:    hdisp.o getchar.o ../../src/libvogl.a libhershey.a
  32.     $(CC) -o $@ $@.o getchar.o $(OURLIBS) $(LIBS)
  33.  
  34. fdisp:    fdisp.o ../../src/libvogl.a libhershey.a
  35.     $(CC) -o $@ $@.o $(OURLIBS) $(LIBS)
  36.  
  37. $(FONTLIB):
  38.     if test ! -d $(FONTLIB);\
  39.     then mkdir $(FONTLIB);\
  40.     fi;
  41.  
  42. fonts:    h2v $(FONTLIB)
  43.     h2v ../data/hersh.oc
  44.     h2v ../data/hersh.or ../fonts/japan.hmp japanese
  45.     mv astrology cursive cyrillic futura.l futura.m gothic.eng \
  46.     gothic.ger gothic.ita greek japanese markers math.low \
  47.     math.upp meteorology music script symbolic times.g \
  48.     times.i times.ib times.r times.rb $(FONTLIB)
  49.     touch fonts
  50.  
  51. h2v: h2v.h
  52.  
  53. clean:
  54.     rm -f astrology cursive cyrillic futura.l futura.m gothic.eng \
  55.     gothic.ger gothic.ita greek japanese markers math.low \
  56.     math.upp meteorology music script symbolic times.g \
  57.     times.i times.ib times.r times.rb *.o core fonts libhershey.a
  58.  
  59. clobber:
  60.     rm -f astrology cursive cyrillic futura.l futura.m gothic.eng \
  61.     gothic.ger gothic.ita greek japanese markers math.low \
  62.     math.upp meteorology music script symbolic times.g \
  63.     times.i times.ib times.r times.rb *.o core h2v hdisp fdisp fonts \
  64.     libhershey.a
  65.